home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / RCS / sysStats.h,v < prev    next >
Encoding:
Text File  |  1992-09-21  |  29.9 KB  |  1,288 lines

  1. head     2.45;
  2. branch   ;
  3. access   ;
  4. symbols  sprited:2.35.1;
  5. locks    ; strict;
  6. comment  @ * @;
  7.  
  8.  
  9. 2.45
  10. date     92.09.21.11.34.02;  author mgbaker;  state Exp;
  11. branches ;
  12. next     2.44;
  13.  
  14. 2.44
  15. date     92.07.30.13.06.12;  author mgbaker;  state Exp;
  16. branches ;
  17. next     2.43;
  18.  
  19. 2.43
  20. date     92.05.31.16.52.49;  author kupfer;  state Exp;
  21. branches ;
  22. next     2.42;
  23.  
  24. 2.42
  25. date     92.05.18.11.36.31;  author mgbaker;  state Exp;
  26. branches ;
  27. next     2.41;
  28.  
  29. 2.41
  30. date     91.11.07.13.33.41;  author mgbaker;  state Exp;
  31. branches ;
  32. next     2.40;
  33.  
  34. 2.40
  35. date     91.10.01.00.19.20;  author mgbaker;  state Exp;
  36. branches ;
  37. next     2.39;
  38.  
  39. 2.39
  40. date     91.09.13.12.47.29;  author mgbaker;  state Exp;
  41. branches ;
  42. next     2.38;
  43.  
  44. 2.38
  45. date     91.08.21.15.03.08;  author mgbaker;  state Exp;
  46. branches ;
  47. next     2.37;
  48.  
  49. 2.37
  50. date     91.08.21.14.58.37;  author mgbaker;  state Exp;
  51. branches ;
  52. next     2.36;
  53.  
  54. 2.36
  55. date     91.08.21.14.43.45;  author mendel;  state Exp;
  56. branches ;
  57. next     2.35;
  58.  
  59. 2.35
  60. date     91.05.29.09.12.19;  author mendel;  state Exp;
  61. branches 2.35.1.1;
  62. next     2.34;
  63.  
  64. 2.34
  65. date     91.03.07.16.41.57;  author mgbaker;  state Exp;
  66. branches ;
  67. next     2.33;
  68.  
  69. 2.33
  70. date     91.03.06.22.25.17;  author jhh;  state Exp;
  71. branches ;
  72. next     2.32;
  73.  
  74. 2.32
  75. date     91.01.25.12.39.19;  author mgbaker;  state Exp;
  76. branches ;
  77. next     2.31;
  78.  
  79. 2.31
  80. date     91.01.24.16.26.15;  author mgbaker;  state Exp;
  81. branches ;
  82. next     2.30;
  83.  
  84. 2.30
  85. date     91.01.08.16.39.30;  author shirriff;  state Exp;
  86. branches ;
  87. next     2.29;
  88.  
  89. 2.29
  90. date     90.12.11.00.43.17;  author mgbaker;  state Exp;
  91. branches ;
  92. next     2.28;
  93.  
  94. 2.28
  95. date     90.12.07.19.40.45;  author mgbaker;  state Exp;
  96. branches ;
  97. next     2.27;
  98.  
  99. 2.27
  100. date     90.12.07.19.29.31;  author mgbaker;  state Exp;
  101. branches ;
  102. next     2.26;
  103.  
  104. 2.26
  105. date     90.12.07.15.06.07;  author mgbaker;  state Exp;
  106. branches ;
  107. next     2.25;
  108.  
  109. 2.25
  110. date     90.12.06.22.10.49;  author shirriff;  state Exp;
  111. branches ;
  112. next     2.24;
  113.  
  114. 2.24
  115. date     90.11.27.12.02.47;  author mgbaker;  state Exp;
  116. branches ;
  117. next     2.23;
  118.  
  119. 2.23
  120. date     90.11.27.11.58.49;  author shirriff;  state Exp;
  121. branches ;
  122. next     2.22;
  123.  
  124. 2.22
  125. date     90.06.21.12.46.50;  author mgbaker;  state Exp;
  126. branches 2.22.1.1;
  127. next     2.21;
  128.  
  129. 2.21
  130. date     90.05.30.19.06.59;  author mgbaker;  state Exp;
  131. branches ;
  132. next     2.20;
  133.  
  134. 2.20
  135. date     90.04.18.16.31.48;  author mgbaker;  state Exp;
  136. branches ;
  137. next     2.19;
  138.  
  139. 2.19
  140. date     90.03.26.12.11.40;  author mgbaker;  state Exp;
  141. branches ;
  142. next     2.18;
  143.  
  144. 2.18
  145. date     90.02.03.15.33.49;  author mgbaker;  state Exp;
  146. branches ;
  147. next     2.17;
  148.  
  149. 2.17
  150. date     89.10.10.16.27.23;  author brent;  state Exp;
  151. branches ;
  152. next     2.16;
  153.  
  154. 2.16
  155. date     89.10.10.16.25.45;  author jhh;  state Exp;
  156. branches ;
  157. next     2.15;
  158.  
  159. 2.15
  160. date     89.07.28.17.19.59;  author douglis;  state Exp;
  161. branches ;
  162. next     2.14;
  163.  
  164. 2.14
  165. date     89.07.28.17.07.35;  author douglis;  state Exp;
  166. branches ;
  167. next     2.13;
  168.  
  169. 2.13
  170. date     89.07.28.17.06.58;  author douglis;  state Exp;
  171. branches ;
  172. next     2.12;
  173.  
  174. 2.12
  175. date     89.07.14.09.10.02;  author rab;  state Exp;
  176. branches ;
  177. next     2.11;
  178.  
  179. 2.11
  180. date     89.06.25.20.08.40;  author jhh;  state Exp;
  181. branches ;
  182. next     2.10;
  183.  
  184. 2.10
  185. date     89.06.23.12.11.29;  author brent;  state Exp;
  186. branches ;
  187. next     2.9;
  188.  
  189. 2.9
  190. date     89.04.07.10.15.26;  author douglis;  state Exp;
  191. branches ;
  192. next     2.8;
  193.  
  194. 2.8
  195. date     89.03.27.22.25.01;  author jhh;  state Exp;
  196. branches ;
  197. next     2.7;
  198.  
  199. 2.7
  200. date     88.11.18.09.57.31;  author douglis;  state Exp;
  201. branches ;
  202. next     2.6;
  203.  
  204. 2.6
  205. date     88.09.09.10.13.50;  author brent;  state Exp;
  206. branches ;
  207. next     2.5;
  208.  
  209. 2.5
  210. date     88.09.06.14.26.11;  author nelson;  state Exp;
  211. branches ;
  212. next     2.4;
  213.  
  214. 2.4
  215. date     88.07.12.14.01.58;  author douglis;  state Exp;
  216. branches ;
  217. next     2.3;
  218.  
  219. 2.3
  220. date     88.07.12.14.00.00;  author douglis;  state Exp;
  221. branches ;
  222. next     2.2;
  223.  
  224. 2.2
  225. date     87.12.10.08.59.49;  author brent;  state Exp;
  226. branches ;
  227. next     2.1;
  228.  
  229. 2.1
  230. date     87.09.29.09.42.57;  author brent;  state Exp;
  231. branches ;
  232. next     2.0;
  233.  
  234. 2.0
  235. date     87.08.11.09.32.53;  author brent;  state Exp;
  236. branches ;
  237. next     ;
  238.  
  239. 2.22.1.1
  240. date     90.08.07.18.21.14;  author mgbaker;  state Exp;
  241. branches ;
  242. next     ;
  243.  
  244. 2.35.1.1
  245. date     91.10.21.21.20.06;  author kupfer;  state Exp;
  246. branches ;
  247. next     ;
  248.  
  249.  
  250. desc
  251. @@
  252.  
  253.  
  254. 2.45
  255. log
  256. @New param.
  257. @
  258. text
  259. @/*
  260.  * sysStat.h --
  261.  *
  262.  *    User-level definitions of routines and types for system statistics
  263.  *    returned by the Sys_Stats system call.  Instead of a /dev/kmem
  264.  *    type interface, we have calls to return specific kernel structure.
  265.  *    The kernel call takes the following arguments:
  266.  *    Sys_Stats(command, option, argPtr)
  267.  *    commands are defined below, and option and argPtr are interpreted
  268.  *    differently by each command.  Typically argPtr is a buffer that
  269.  *    gets filled in with a system structure, and option is used to
  270.  *    indicate the size, or to control tracing, or isn't used at all.
  271.  *
  272.  * Copyright 1986, 1988 Regents of the University of California
  273.  * Permission to use, copy, modify, and distribute this
  274.  * software and its documentation for any purpose and without
  275.  * fee is hereby granted, provided that the above copyright
  276.  * notice appear in all copies.  The University of California
  277.  * makes no representations about the suitability of this
  278.  * software for any purpose.  It is provided "as is" without
  279.  * express or implied warranty.
  280.  *
  281.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.44 92/07/30 13:06:12 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  282.  *
  283.  */
  284.  
  285. #ifndef _SYSSTATS
  286. #define _SYSSTATS
  287.  
  288. /*
  289.  * Commands for the Sys_Stats system call.
  290.  *    SYS_RPC_CLT_STATS - Return the Rpc_CltStats structure that contains
  291.  *        client-side statistics for the RPC system. (see rpc.h)
  292.  *    SYS_RPC_SRV_STATS - Return the Rpc_SrvStats structure that contains
  293.  *        server-side statistics for the RPC system. (see rpc.h)
  294.  *    SYS_SYNC_STATS - Return the Sync_Instrument structure which
  295.  *        contains lock and wakeup counts. (see kernel/sync.h)
  296.  *    SYS_SCHED_STATS - Return the Sched_Instrument structure which
  297.  *        contains idle time and context switch counts (kernel/sched.h)
  298.  *    SYS_VM_STATS - Return the Vm_Stat structure which contains every
  299.  *        concievable VM statistic, fault counts etc. (kernel/vmStat.h)
  300.  *    SYS_RPC_TRACE_STATS - Used to both return the trace of recent RPCs,
  301.  *        and to enable/disable the trace, see options below.
  302.  *    SYS_FS_PREFIX_STATS - Return entries from the prefix table. (see fs.h)
  303.  *    SYS_PROC_TRACE_STATS - Used to both return the process migration
  304.  *        trace, and to enable/disable the trace, see options below.
  305.  *    SYS_SYS_CALL_STATS - Return the array of system call counters.
  306.  *        option indicates how many integers the buffer argPtr contains.
  307.  *    SYS_RPC_SERVER_HIST - Return the service time histogram for the RPC
  308.  *        indicated by option. (see kernel/rpcHistogram.h)  If option
  309.  *        is less than or equal to zero the histogram is cleared.
  310.  *    SYS_RPC_CLIENT_HIST - Return service time as obseved by a client.
  311.  *    SYS_NET_GET_ROUTE - Return the route table entry for a particular host.
  312.  *        The data returned are three integers: flags, spriteID, and
  313.  *        route type.  This is then followed by type specific data,
  314.  *        either an ethernet address or an internet address.
  315.  *    SYS_RPC_SRV_STATE - Return the RpcServerState structure for the
  316.  *        RPC server indexed by option.  (see kernel/rpcServer.h)
  317.  *    SYS_RPC_CLT_STATE - Return the RpcClientState structure for the
  318.  *        RPC client channel indexed by option.  (see kernel/rpcClient.h)
  319.  *    SYS_NET_ETHER_STATS - Return the Net_EtherStats structure which
  320.  *        contains interface statistics.  (see kernel/net.h)
  321.  *     SYS_RPC_ENABLE_SERVICE - Enable/disable the service side of the RPC
  322.  *        system.  A non-zero option value enables, zero disables.
  323.  *    SYS_GET_VERSION_STRING - Return the kernel version string.  option
  324.  *        indicates how big the users buffer is.
  325.  *    SYS_PROC_MIGRATION - Enable/Disable process migration to this host.
  326.  *        See options defined below.
  327.  *    SYS_DISK_STATS - Return the Sys_DiskStats structure defined below.
  328.  *        option corresponds to a kernel controller table index.
  329.  *    SYS_FS_PREFIX_EXPORT - Return the export list of a prefix.  The
  330.  *        option parameter indicates the size of the buffer argPtr.
  331.  *        argPtr should contain the prefix upon entry, and is
  332.  *        overwritten with an integer array of SpriteIDs that
  333.  *        corresponds to the export list for the prefix.
  334.  *    SYS_LOCK_STATS - Return the locking statistics. option indicates the
  335.  *        size of the buffer in units of Sync_LockStat structures.
  336.  *    SYS_RPC_SRV_COUNTS - Return the count of RPC service calls.  The
  337.  *        option argument is unused.  If argPtr == NULL then the
  338.  *        counts are printed on the console, otherwise it should be
  339.  *        the address of an integer array size RPC_LAST_COMMAND+1
  340.  *    SYS_RPC_CALL_COUNTS - Return the count of RPC calls.  The
  341.  *        option argument is unused.  If argPtr == NULL then the
  342.  *        counts are printed on the console, otherwise it should be
  343.  *        the address of an integer array size RPC_LAST_COMMAND+1
  344.  *    SYS_LOCK_RESET_STATS - Reset the locking statistics.
  345.  *    SYS_INST_COUNTS - Return information from instruction counts. This
  346.  *        only works on special spur kernels.
  347.  *    SYS_RESET_INST_COUNTS - Reset instruction counts.
  348.  *    SYS_RECOV_STATS - Return information about the recov module.
  349.  *    SYS_RECOV_PRINT - Change printing level of recov module traces.
  350.  *    SYS_FS_RECOV_INFO - Return info with names about the state of
  351.  *        files for recovery testing.
  352.  *    SYS_RECOV_CLIENT_INFO - Dump state on server about per-client recovery.
  353.  *    SYS_RPC_SERVER_TRACE - Turn tracing of rpc servers on or off.
  354.  *    SYS_RPC_SERVER_INFO - Return rpc server tracing info to user.
  355.  *    SYS_RPC_SERVER_FREE - Free up space used by rpc server tracing.
  356.  *    SYS_RPC_SET_MAX - Set the maximum number of server processes.
  357.  *    SYS_RPC_SET_NUM - Create enough server processes to have this many.
  358.  *    SYS_RPC_NEG_ACKS - Turn on or off negative acks on the server.
  359.  *    SYS_RPC_CHANNEL_NEG_ACKS -  Set client policy on or off for handling
  360.  *        neg acks by ramping down the number of client channels.
  361.  *    SYS_RECOV_ABS_PINGS - Whether to use absolute ping intervals or not.
  362.  *    SYS_RECOV_PRINT - Set the recovery print level.
  363.  *    SYS_RPC_NUM_NACK_BUFS - Set the number of negative acknowledgement
  364.  *        buffers.
  365.  *    SYS_START_STATS - Turn on the kernel's periodic printing of sched
  366.  *        and io stats.  TEMPORARY for recovery measurements.
  367.  *    SYS_END_STATS - Turn off the kernel's periodic printing of sched
  368.  *        and io stats.  TEMPORARY for recovery measurements.
  369.  *      SYS_DEV_CHANGE_SCSI_DEBUG - Change debug level for scsi driver.
  370.  *      SYS_SYS_CALL_STATS_ENABLE - Turn on or off system call profiling.
  371.  *      SYS_SYS_CALL_TIMES - Get the system call counts and profiling times.
  372.  *    SYS_RPC_SANITY_CHECK - Toggle sanity checks on rpc packets.
  373.  *    SYS_FS_EXTRA_STATS - Extra fs stats that should go into fsStats for
  374.  *                the next global compile.
  375.  *    SYS_PROC_ADD_SERVERS - Add proc server processes to the kernel.
  376.  *    SYS_FAST_RESTART - With option -1: restart the kernel from scratch with
  377.  *        no download.  With other options, set the debug level for
  378.  *        printing error messages to the level given by the option.
  379.  *    SYS_RECOV_BOX - Command operating on the recovery box.
  380.  *    SYS_DONT_PRINT - Turn off the ability to print.  Useful for testing
  381.  *        speed of booting.
  382.  *    SYS_MACH_PRINT_DEV_TREE - For the sparcstations only: traverse and
  383.  *        print sbus device information tree in prom.
  384.  *    SYS_RECOV_PARAMS - Change recovery parameters.
  385.  */
  386.  
  387. #define SYS_RPC_CLT_STATS    1
  388. #define SYS_RPC_SRV_STATS    2
  389. #define SYS_SYNC_STATS        3
  390. #define SYS_SCHED_STATS        4
  391. #define SYS_VM_STATS        5
  392. #define SYS_RPC_TRACE_STATS    6
  393. #define SYS_FS_PREFIX_STATS    7
  394. #define SYS_PROC_TRACE_STATS    8
  395. #define SYS_SYS_CALL_STATS    9
  396. #define SYS_RPC_SERVER_HIST    10
  397. #define SYS_RPC_CLIENT_HIST    11
  398. #define SYS_NET_GET_ROUTE    12
  399. #define SYS_RPC_SRV_STATE    13
  400. #define SYS_RPC_CLT_STATE    14
  401. #define    SYS_NET_ETHER_STATS    15
  402. #define SYS_RPC_ENABLE_SERVICE    16
  403. #define SYS_GET_VERSION_STRING    17
  404. #define SYS_PROC_MIGRATION    18
  405. #define    SYS_DISK_STATS        19
  406. #define SYS_FS_PREFIX_EXPORT    20
  407. #define SYS_LOCK_STATS        21
  408. #define SYS_RPC_SRV_COUNTS    22
  409. #define SYS_RPC_CALL_COUNTS    23
  410. #define SYS_LOCK_RESET_STATS    24
  411. #define SYS_INST_COUNTS        25
  412. #define SYS_RESET_INST_COUNTS    26
  413. #define SYS_RECOV_STATS        27
  414. #define SYS_FS_RECOV_INFO    28
  415. #define    SYS_RECOV_CLIENT_INFO    29
  416. #define    SYS_RPC_SERVER_TRACE     30
  417. #define    SYS_RPC_SERVER_INFO    31
  418. #define    SYS_RPC_SERVER_FREE    32
  419. #define    SYS_RPC_SET_MAX        33
  420. #define    SYS_RPC_SET_NUM        34
  421. #define    SYS_RPC_NEG_ACKS    35
  422. #define    SYS_RPC_CHANNEL_NEG_ACKS    36
  423. #define SYS_RECOV_ABS_PINGS    37
  424. #define SYS_RECOV_PRINT        38
  425. #define    SYS_RPC_NUM_NACK_BUFS    39
  426. #define    SYS_TRACELOG_STATS    40
  427. #define SYS_START_STATS        100
  428. #define SYS_END_STATS        101
  429. #define SYS_DEV_CHANGE_SCSI_DEBUG 102
  430. #define SYS_SYS_CALL_STATS_ENABLE 103
  431. #define SYS_SYS_CALL_TIMES    104
  432. /* Space for more numbers in here. */
  433. #define SYS_RPC_SANITY_CHECK    107
  434. #define SYS_FS_EXTRA_STATS    108
  435. #define    SYS_PROC_ADD_SERVERS    109
  436. #define SYS_FAST_RESTART    110
  437. #define SYS_RECOV_BOX        111
  438. #define    SYS_DONT_PRINT        112
  439. #define    SYS_MACH_PRINT_DEV_TREE 113
  440. #define    SYS_RECOV_PARAMS     114
  441.  
  442. /*
  443.  * Options for the Sys_Stats SYS_RPC_TRACE_STATS command.  If the option
  444.  * is a positive value then that number of trace records are returned
  445.  * into the buffer referenced by argPtr.
  446.  */
  447. #define SYS_RPC_TRACING_PRINT    -1
  448. #define SYS_RPC_TRACING_OFF    -2
  449. #define SYS_RPC_TRACING_ON    -3
  450.  
  451. /*
  452.  * Options for the Sys_Stats SYS_PROC_TRACE_STATS command.  Use these
  453.  * values for the option argument to the Test_Stats call when using
  454.  * the PROC_TRACE_STATS command.  Any argument greater than the
  455.  * largest positive defined constant is the number of trace records to
  456.  * copy into the output buffer (i.e., it is not permissible to copy
  457.  * only 1-3 records).
  458.  */
  459. #define SYS_PROC_TRACING_PRINT    1
  460. #define SYS_PROC_TRACING_OFF    2
  461. #define SYS_PROC_TRACING_ON    3
  462.  
  463. /*
  464.  * Options for the Sys_Stats SYS_PROC_MIGRATION command.
  465.  * ALLOW, REFUSE, and GET_STATUS are obsoleted by GET_STATE and SET_STATE.
  466.  *
  467.  *   SYS_PROC_MIG_ALLOW        - allow all migrations to this machine.
  468.  *   SYS_PROC_MIG_REFUSE    - refuse all migrations to this machine.
  469.  *   SYS_PROC_MIG_GET_STATUS    - get whether all migrations are allowed
  470.  *                  or refused.
  471.  *   SYS_PROC_MIG_SET_DEBUG    - set the migration debug level.
  472.  *   SYS_PROC_MIG_GET_VERSION    - get the migration version.
  473.  *   SYS_PROC_MIG_GET_STATE    - get the general migration state.
  474.  *   SYS_PROC_MIG_SET_STATE    - set it.
  475.  *   SYS_PROC_MIG_SET_VERSION    - set the migration version.
  476.  *   SYS_PROC_MIG_GET_STATS    - get statistics.
  477.  *   SYS_PROC_MIG_RESET_STATS    - reset statistics.
  478.  */
  479. #define SYS_PROC_MIG_ALLOW        0
  480. #define SYS_PROC_MIG_REFUSE        1
  481. #define SYS_PROC_MIG_GET_STATUS        2
  482. #define SYS_PROC_MIG_SET_DEBUG        3
  483. #define SYS_PROC_MIG_GET_VERSION    4
  484. #define SYS_PROC_MIG_GET_STATE        5
  485. #define SYS_PROC_MIG_SET_STATE        6
  486. #define SYS_PROC_MIG_SET_VERSION    7
  487. #define SYS_PROC_MIG_GET_STATS        8
  488. #define SYS_PROC_MIG_RESET_STATS    9
  489.  
  490. /*
  491.  * Options for SYS_TRACELOG_STATS.
  492.  */
  493. #define SYS_TRACELOG_ON        1
  494. #define SYS_TRACELOG_OFF    2
  495. #define SYS_TRACELOG_DUMP    3
  496. #define SYS_TRACELOG_RESET    4
  497. /* 
  498.  * Structure to return SYS_TRACELOG_STATS.
  499.  */
  500. typedef struct Sys_TracelogRecord {
  501.     int        recordLen;    /* Size of this record in bytes. */
  502.     int        time[2];    /* (Timer_Ticks) Timestamp. */
  503.     ClientData    data;        /* Arbitrarily long data. */
  504. } Sys_TracelogRecord;
  505.  
  506. #define SYS_TRACELOG_KERNELLEN 32
  507. #define SYS_TRACELOG_TYPELEN 8
  508. /*
  509.  * This is the header we write to the user level file.
  510.  * Note: things are in somewhat of a state of flux.  The current status is:
  511.  * File is stored as:
  512.  *   magic #
  513.  *   Sys_TracelogHeader
  514.  *   A bunch of records
  515.  * The fields: numBytes, numRecs, and lostRecords are not used.
  516.  * The traceDir is filled in by the user-level dump program.
  517.  * Lost records are indicated by a special record type in the file.
  518.  * The reason for this format is that it is inconvenient to have the length
  519.  * in the header, since any routine post-processing data and writing a
  520.  * new file would have to go back and modify the header after it knew
  521.  * how many records it had.  This way, you write out a fixed header and
  522.  * then whatever records you want.
  523.  */
  524. typedef struct Sys_TracelogHeader {
  525.     int        numBytes;    /* Total size of the records in bytes. */
  526.                 /* Flags are stored in the high 2 bytes. */
  527.     int        numRecs;    /* Number of records. */
  528.     int        machineID;    /* ID of this machine. */
  529.     char    kernel[SYS_TRACELOG_KERNELLEN];    /* Kernel we're running. */
  530.     char    machineType[SYS_TRACELOG_TYPELEN]; /* Machine type. */
  531.     int        bootTime[2];    /* Time of boot (to convert of trace time. */
  532.     int        lostRecords;    /* Records lost from overflow. */
  533.     int        traceDir[4];    /* FileID of the trace directory. */
  534. } Sys_TracelogHeader;
  535.  
  536. /*
  537.  * This is the structure returned by the kernel.
  538.  */
  539. typedef struct Sys_TracelogHeaderKern {
  540.     int        numBytes;    /* Total size of the records in bytes. */
  541.                 /* Flags are stored in the high 2 bytes. */
  542.     int        numRecs;    /* Number of records. */
  543.     int        machineID;    /* ID of this machine. */
  544.     char    kernel[SYS_TRACELOG_KERNELLEN];    /* Kernel we're running. */
  545.     char    machineType[SYS_TRACELOG_TYPELEN]; /* Machine type. */
  546.     int        bootTime[2];    /* Time of boot (to convert of trace time. */
  547.     int        lostRecords;    /* Records lost from overflow. */
  548. } Sys_TracelogHeaderKern;
  549.  
  550. #define LOST_TYPE 128
  551.  
  552. #define TRACELOG_FLAGMASK 0xf0000000
  553. #define TRACELOG_TYPEMASK 0x0fff0000
  554. #define TRACELOG_BYTEMASK 0x0000ffff
  555.  
  556. #define TRACELOG_MAGIC 0x44554d50
  557. #define TRACELOG_MAGIC2 0x44554d51
  558.  
  559. /*
  560.  * Structure to return for disk stats.
  561.  */
  562. #define    SYS_DISK_NAME_LENGTH    100
  563. typedef struct Sys_DiskStats {
  564.     char    name[SYS_DISK_NAME_LENGTH];    /* Type of disk. */
  565.     int        controllerID;            /* Which controller it is. */
  566.     int        numSamples;            /* Number of times idle time
  567.                          * was sampled. */
  568.     int        idleCount;            /* Number of times disk was
  569.                          * idle when sampled. */
  570.     int        diskReads;            /* The number of sector reads 
  571.                          * from this disk. */
  572.     int        diskWrites;            /* The number of sector writes
  573.                          * from this disk. */
  574. } Sys_DiskStats;
  575.  
  576. extern ReturnStatus        Sys_Stats();
  577.  
  578. #endif /* _SYSSTATS */
  579. @
  580.  
  581.  
  582. 2.44
  583. log
  584. @For testing.
  585. @
  586. text
  587. @d23 1
  588. a23 1
  589.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.43 92/05/31 16:52:49 kupfer Exp Locker: mgbaker $ SPRITE (Berkeley)
  590. d126 1
  591. d182 1
  592. @
  593.  
  594.  
  595. 2.43
  596. log
  597. @Add SYS_SYS_CALL_STATS_ENABLE and SYS_SYS_CALL_TIMES.
  598. @
  599. text
  600. @d23 1
  601. a23 1
  602.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.42 92/05/18 11:36:31 mgbaker Exp Locker: kupfer $ SPRITE (Berkeley)
  603. d124 2
  604. d180 1
  605. @
  606.  
  607.  
  608. 2.42
  609. log
  610. @*** empty log message ***
  611. @
  612. text
  613. @d23 1
  614. a23 1
  615.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.41 91/11/07 13:33:41 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  616. d112 2
  617. d169 2
  618. @
  619.  
  620.  
  621. 2.41
  622. log
  623. @Added a comment about another option.
  624. @
  625. text
  626. @d23 1
  627. a23 1
  628.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.40 91/10/01 00:19:20 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  629. d120 2
  630. a121 6
  631. #ifdef MGB
  632.         This stuff can be removed after SOSP. -Mary 10/1/91
  633.  *    SYS_MGB_TRACE_ON - Start quickie sosp traces.
  634.  *    SYS_MGB_TRACE_OFF - Stop quickie sosp traces.
  635.  *    SYS_MGB_WRITE_TRACE - Write out quickie sosp traces to a user buffer.
  636. #endif MGB
  637. d173 1
  638. a173 6
  639. #ifdef MGB
  640.     /* This stuff can be removed after SOSP.  -Mary 10/1/91 */
  641. #define SYS_MGB_TRACE_ON    112
  642. #define SYS_MGB_TRACE_OFF    113
  643. #define SYS_MGB_WRITE_TRACE    114
  644. #endif MGB
  645. @
  646.  
  647.  
  648. 2.40
  649. log
  650. @Added defines for quickie sosp traces.
  651. @
  652. text
  653. @d23 1
  654. a23 1
  655.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.39 91/09/13 12:47:29 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  656. d116 3
  657. a118 1
  658.  *    SYS_FAST_RESTART - Restart the kernel from scratch with no download.
  659. @
  660.  
  661.  
  662. 2.39
  663. log
  664. @Took out sosp code.
  665. @
  666. text
  667. @d23 1
  668. a23 1
  669.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.38 91/08/21 15:03:08 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  670. d118 6
  671. d175 6
  672. @
  673.  
  674.  
  675. 2.38
  676. log
  677. @Added recovery box command hook.
  678. @
  679. text
  680. @d23 1
  681. a23 1
  682.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.37 91/08/21 14:58:37 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  683. a110 1
  684.  *    SYS_TRACELOG_STATS - Trace log buffer commands (for SOSP91 paper).
  685. a111 4
  686.  *    SYS_SCHED_MORE_STATS - More counters from the sched module (SOSP91).
  687.  *    SYS_FS_SOSP_MIG_STATS - Counters from the fs module (SOSP91).
  688.  *    SYS_FS_SOSP_NAME_STATS - Undocumented flag of Ken's (SOSP91).
  689.  *    SYS_FSCACHE_EXTRA_STATS - Info about cache blocks (SOSP91).
  690. d163 1
  691. a163 6
  692. #ifdef SOSP91
  693. #define    SYS_SCHED_MORE_STATS    103
  694. #define    SYS_FS_SOSP_MIG_STATS    104
  695. #define    SYS_FS_SOSP_NAME_STATS    105
  696. #define    SYS_FSCACHE_EXTRA_STATS    106
  697. #endif SOSP91
  698. a302 24
  699.  
  700. #ifdef SOSP91
  701.  
  702. #include <spriteTime.h>
  703.  
  704. typedef    struct    Sys_SchedOverallTimes {
  705.     Time    kernelTime;
  706.     Time    userTime;
  707.     Time    userTimeMigrated;
  708. } Sys_SchedOverallTimes;
  709.  
  710. /*
  711.  * Statistics for name lookup on client.
  712.  */
  713. typedef struct Sys_SospNameStats {
  714.     Time    totalNameTime;
  715.     Time    nameTime;
  716.     Time    prefixTime;
  717.     Time    miscTime;
  718.     int        numPrefixLookups;
  719.     int        numComponents;
  720.     int        numPrefixComponents;
  721. } Sys_SospNameStats;
  722. #endif SOSP91
  723. @
  724.  
  725.  
  726. 2.37
  727. log
  728. @Added fast restart hook.
  729. @
  730. text
  731. @d23 1
  732. a23 1
  733.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.36 91/08/21 14:43:45 mendel Exp Locker: mgbaker $ SPRITE (Berkeley)
  734. d122 1
  735. d178 1
  736. @
  737.  
  738.  
  739. 2.36
  740. log
  741. @Added SYS_PROC_ADD_SERVERS.
  742. @
  743. text
  744. @d23 1
  745. a23 1
  746.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.35 91/05/29 09:12:19 mendel Exp $ SPRITE (Berkeley)
  747. d121 1
  748. d176 1
  749. @
  750.  
  751.  
  752. 2.35
  753. log
  754. @Modified comment in Sys_DiskStats structure to match new usages.
  755. @
  756. text
  757. @d23 1
  758. a23 1
  759.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.34 91/03/07 16:41:57 mgbaker Exp $ SPRITE (Berkeley)
  760. d120 1
  761. d174 1
  762. a174 1
  763.  
  764. @
  765.  
  766.  
  767. 2.35.1.1
  768. log
  769. @Initial branch for Sprite server.
  770. @
  771. text
  772. @d23 1
  773. a23 1
  774.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.35 91/05/29 09:12:19 mendel Exp $ SPRITE (Berkeley)
  775. @
  776.  
  777.  
  778. 2.34
  779. log
  780. @New temporary stats.
  781. @
  782. text
  783. @d23 1
  784. a23 1
  785.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.33 91/03/06 22:25:17 jhh Exp Locker: mgbaker $ SPRITE (Berkeley)
  786. d303 4
  787. a306 4
  788.     int        diskReads;            /* The number of reads from
  789.                          * this disk. */
  790.     int        diskWrites;            /* The number of writes from
  791.                          * this disk. */
  792. @
  793.  
  794.  
  795. 2.33
  796. log
  797. @added SYS_RPC_SANITY_CHECK, deleted SYS_RPC_EXTRA_SRV_STATS
  798. @
  799. text
  800. @d23 1
  801. a23 1
  802.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.32 91/01/25 12:39:19 mgbaker Exp Locker: jhh $ SPRITE (Berkeley)
  803. d118 2
  804. d172 1
  805. @
  806.  
  807.  
  808. 2.32
  809. log
  810. @Fixed comment bug.
  811. @
  812. text
  813. @d23 1
  814. a23 1
  815.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.31 91/01/24 16:26:15 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  816. a106 2
  817.  *    SYS_RPC_EXTRA_SRV_STATS - TEMPORARY way of getting extra server side
  818.  *        rpc statistics until it's okay to change rpcStat structures.
  819. d117 1
  820. a159 1
  821. #define    SYS_RPC_EXTRA_SRV_STATS    99
  822. d169 1
  823. @
  824.  
  825.  
  826. 2.31
  827. log
  828. @Added another sosp flag.
  829. @
  830. text
  831. @d23 1
  832. a23 1
  833.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.30 91/01/08 16:39:30 shirriff Exp Locker: mgbaker $ SPRITE (Berkeley)
  834. a116 1
  835.  *    SYS_FSCACHE_EXTRA_STATS - Counters from the fscache module (SOSP91).
  836. @
  837.  
  838.  
  839. 2.30
  840. log
  841. @Added statistics for name lookup.
  842. @
  843. text
  844. @d23 1
  845. a23 1
  846.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.29 90/12/11 00:43:17 mgbaker Exp $ SPRITE (Berkeley)
  847. d117 3
  848. d170 1
  849. @
  850.  
  851.  
  852. 2.29
  853. log
  854. @Sosp counters
  855. @
  856. text
  857. @d23 1
  858. a23 1
  859.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.28 90/12/07 19:40:45 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  860. d166 1
  861. d285 1
  862. d313 13
  863. @
  864.  
  865.  
  866. 2.28
  867. log
  868. @bug fix.
  869. @
  870. text
  871. @d23 1
  872. a23 1
  873.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.27 90/12/07 19:29:31 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  874. d116 1
  875. d165 1
  876. @
  877.  
  878.  
  879. 2.27
  880. log
  881. @Added more sosp stuff.
  882. @
  883. text
  884. @d23 1
  885. a23 1
  886.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.26 90/12/07 15:06:07 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  887. d301 3
  888. @
  889.  
  890.  
  891. 2.26
  892. log
  893. @More sosp counter stubs
  894. @
  895. text
  896. @d23 1
  897. a23 1
  898.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.25 90/12/06 22:10:49 shirriff Exp Locker: mgbaker $ SPRITE (Berkeley)
  899. d299 8
  900. @
  901.  
  902.  
  903. 2.25
  904. log
  905. @Changes for SOSP91 tracing.
  906. @
  907. text
  908. @d23 1
  909. a23 1
  910.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.24 90/11/27 12:02:47 mgbaker Exp $ SPRITE (Berkeley)
  911. d115 1
  912. d162 3
  913. @
  914.  
  915.  
  916. 2.24
  917. log
  918. @scsi driver debug stat stub flag
  919. @
  920. text
  921. @d23 1
  922. a23 1
  923.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.23 90/11/27 11:58:49 shirriff Exp Locker: mgbaker $ SPRITE (Berkeley)
  924. d229 16
  925. d254 1
  926. d257 16
  927. d276 2
  928. @
  929.  
  930.  
  931. 2.23
  932. log
  933. @Mary checking in Ken's SOSP trace stuff.
  934. @
  935. text
  936. @d23 1
  937. a23 1
  938.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.22 90/06/21 12:46:50 mgbaker Exp Locker: shirriff $ SPRITE (Berkeley)
  939. d114 1
  940. d160 1
  941. @
  942.  
  943.  
  944. 2.22
  945. log
  946. @sys stat num for disk and cpu stats.
  947. @
  948. text
  949. @d23 1
  950. a23 1
  951.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.21 90/05/30 19:06:59 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  952. d113 1
  953. d155 1
  954. d180 1
  955. a180 1
  956. #define SYS_PROC_TRACING_ON        3
  957. d209 32
  958. @
  959.  
  960.  
  961. 2.22.1.1
  962. log
  963. @Contains asplos statistics-gathering code.
  964. @
  965. text
  966. @d23 1
  967. a23 1
  968.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.22 90/06/21 12:46:50 mgbaker Exp $ SPRITE (Berkeley)
  969. a112 4
  970.  *    SYS_MACH_STATS - Get temporary statistics from the mach module for
  971.  *        the asplos paper.
  972.  *      SYS_SCHED_MORE_STATS - Get the extra temporary sched stats for
  973.  *              the asplos paper.
  974. a156 2
  975. #define SYS_MACH_STATS        102
  976. #define SYS_SCHED_MORE_STATS    103
  977. @
  978.  
  979.  
  980. 2.21
  981. log
  982. @Added flag to set number of nack bufs.
  983. @
  984. text
  985. @d23 1
  986. a23 1
  987.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.20 90/04/18 16:31:48 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  988. d107 6
  989. d154 3
  990. @
  991.  
  992.  
  993. 2.20
  994. log
  995. @Added new recov hook for printing.
  996. @
  997. text
  998. @d23 1
  999. a23 1
  1000.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.19 90/03/26 12:11:40 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  1001. d104 3
  1002. d147 1
  1003. @
  1004.  
  1005.  
  1006. 2.19
  1007. log
  1008. @Checkin before install of kernel.  Added rpc, etc, hooks to Sys_Stat
  1009. @
  1010. text
  1011. @d23 1
  1012. a23 1
  1013.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.18 90/02/03 15:33:49 mgbaker Exp Locker: mgbaker $ SPRITE (Berkeley)
  1014. d91 1
  1015. d143 1
  1016. @
  1017.  
  1018.  
  1019. 2.18
  1020. log
  1021. @Added another rpc/recovery info gathering entrance into Sys_Stat().
  1022. @
  1023. text
  1024. @d23 1
  1025. a23 1
  1026.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.17 89/10/10 16:27:23 brent Exp Locker: mgbaker $ SPRITE (Berkeley)
  1027. d97 6
  1028. d137 5
  1029. @
  1030.  
  1031.  
  1032. 2.17
  1033. log
  1034. @Added SYS_RECOV_STATS
  1035. @
  1036. text
  1037. @d23 1
  1038. a23 1
  1039.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.16 89/10/10 16:25:45 jhh Exp Locker: brent $ SPRITE (Berkeley)
  1040. d91 6
  1041. d126 5
  1042. @
  1043.  
  1044.  
  1045. 2.16
  1046. log
  1047. @Added SPUR intruction counting #defines
  1048. @
  1049. text
  1050. @d23 1
  1051. a23 1
  1052.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.15 89/07/28 17:19:59 douglis Exp Locker: jhh $ SPRITE (Berkeley)
  1053. d90 1
  1054. d119 1
  1055. @
  1056.  
  1057.  
  1058. 2.15
  1059. log
  1060. @changed ZERO to RESET and added documentation for MIG args.
  1061. @
  1062. text
  1063. @d23 1
  1064. a23 1
  1065.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.14 89/07/28 17:07:35 douglis Exp Locker: douglis $ SPRITE (Berkeley)
  1066. d87 3
  1067. d116 2
  1068. @
  1069.  
  1070.  
  1071. 2.14
  1072. log
  1073. @added ZERO_STATS for migration too
  1074. @
  1075. text
  1076. @d23 1
  1077. a23 1
  1078.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.13 89/07/28 17:06:58 douglis Exp Locker: douglis $ SPRITE (Berkeley)
  1079. d139 12
  1080. d161 1
  1081. a161 1
  1082. #define SYS_PROC_MIG_ZERO_STATS        9
  1083. @
  1084.  
  1085.  
  1086. 2.13
  1087. log
  1088. @added SET_VERSION and GET_STATS for migration
  1089. @
  1090. text
  1091. @d23 1
  1092. a23 1
  1093.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.12 89/07/14 09:10:02 rab Exp Locker: douglis $ SPRITE (Berkeley)
  1094. d149 1
  1095. @
  1096.  
  1097.  
  1098. 2.12
  1099. log
  1100. @*** empty log message ***
  1101. @
  1102. text
  1103. @d23 1
  1104. a23 1
  1105.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.11 89/06/25 20:08:40 jhh Exp Locker: rab $ SPRITE (Berkeley)
  1106. d147 3
  1107. @
  1108.  
  1109.  
  1110. 2.11
  1111. log
  1112. @added SYS_LOCK_RESET_STATS
  1113. @
  1114. text
  1115. @d23 1
  1116. a23 1
  1117.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.10 89/06/23 12:11:29 brent Exp Locker: jhh $ SPRITE (Berkeley)
  1118. d167 1
  1119. a167 1
  1120. #endif _SYSSTATS
  1121. @
  1122.  
  1123.  
  1124. 2.10
  1125. log
  1126. @Added RPC_SRV_COUNT and RPC_CALL_COUNT
  1127. @
  1128. text
  1129. @d23 1
  1130. a23 1
  1131.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.9 89/04/07 10:15:26 douglis Exp Locker: rab $ SPRITE (Berkeley)
  1132. d86 1
  1133. d112 1
  1134. @
  1135.  
  1136.  
  1137. 2.9
  1138. log
  1139. @added SYS_PROC_MIG_*_STATE, which replace ALLOW/REFUSE/GET_STATUS.
  1140. @
  1141. text
  1142. @d23 1
  1143. a23 1
  1144.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.8 89/03/27 22:25:01 jhh Exp Locker: douglis $ SPRITE (Berkeley)
  1145. d78 8
  1146. d109 2
  1147. @
  1148.  
  1149.  
  1150. 2.8
  1151. log
  1152. @added command to return locking statistics
  1153. @
  1154. text
  1155. @d23 1
  1156. a23 1
  1157.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.7 88/11/18 09:57:31 douglis Exp Locker: jhh $ SPRITE (Berkeley)
  1158. d126 1
  1159. d133 2
  1160. @
  1161.  
  1162.  
  1163. 2.7
  1164. log
  1165. @added SYS_PROC_MIG_GET_VERSION
  1166. @
  1167. text
  1168. @d23 1
  1169. a23 1
  1170.  * $Header: /sprite/src/lib/include/RCS/sysStats.h,v 2.6 88/09/09 10:13:50 brent Exp Locker: douglis $ SPRITE (Berkeley)
  1171. d76 2
  1172. d100 1
  1173. @
  1174.  
  1175.  
  1176. 2.6
  1177. log
  1178. @Added comments and SYS_FS_PREFIX_EXPORT for returning export lists.
  1179. @
  1180. text
  1181. @d23 1
  1182. a23 1
  1183.  * $Header: sysStats.h,v 2.5 88/09/06 14:26:11 nelson Exp $ SPRITE (Berkeley)
  1184. d124 5
  1185. a128 4
  1186. #define SYS_PROC_MIG_ALLOW    0
  1187. #define SYS_PROC_MIG_REFUSE    1
  1188. #define SYS_PROC_MIG_GET_STATUS    2
  1189. #define SYS_PROC_MIG_SET_DEBUG    3
  1190. @
  1191.  
  1192.  
  1193. 2.5
  1194. log
  1195. @Added call to get disk stats.
  1196. @
  1197. text
  1198. @d4 9
  1199. a12 1
  1200.  *     User-level definitions of routines and types for system statistics.
  1201. d23 1
  1202. a23 1
  1203.  * $Header: sysStats.h,v 2.5 88/07/25 12:07:09 douglis Exp $ SPRITE (Berkeley)
  1204. d32 44
  1205. d77 1
  1206. d97 1
  1207. d99 1
  1208. d101 3
  1209. a103 1
  1210.  * Options for the Sys_Stats SYS_RPC_TRACE_STATS command.
  1211. @
  1212.  
  1213.  
  1214. 2.4
  1215. log
  1216. @changed the copyright
  1217. @
  1218. text
  1219. @d15 1
  1220. a15 1
  1221.  * $Header: sysStats.h,v 2.3 88/07/12 14:00:00 douglis Exp $ SPRITE (Berkeley)
  1222. d42 2
  1223. a43 2
  1224. #define SYS_PROC_SET_MIG_DEBUG    18
  1225. #define SYS_PROC_REFUSE_MIG    19
  1226. d63 25
  1227. @
  1228.  
  1229.  
  1230. 2.3
  1231. log
  1232. @added a couple of process migration defines
  1233. @
  1234. text
  1235. @d6 8
  1236. a13 2
  1237.  * Copyright 1986 Regents of the University of California
  1238.  * All rights reserved.
  1239. d15 1
  1240. a15 1
  1241.  * $Header: sysStats.h,v 2.2 87/12/10 08:59:49 brent Exp $ SPRITE (Berkeley)
  1242. @
  1243.  
  1244.  
  1245. 2.2
  1246. log
  1247. @Added SYS_GET_VERSION_STRING
  1248. @
  1249. text
  1250. @d9 1
  1251. a9 1
  1252.  * $Header: sysStats.h,v 2.1 87/09/29 09:42:57 brent Exp $ SPRITE (Berkeley)
  1253. d36 2
  1254. d47 6
  1255. a52 7
  1256.  * Options for the Sys_Stats SYS_PROC_TRACE_STATS command.  Use these values
  1257.  * for the option argument to the Test_Stats call when using
  1258.  * the PROC_TRACE_STATS command.  A negative argument is used to indicate
  1259.  * a new value for proc_MigDebugLevel (the negative of the argument).
  1260.  * Any argument greater than the largest positive defined constant is the
  1261.  * number of trace records to copy into the output buffer (i.e., it is
  1262.  * not permissible to copy only 1-3 records).
  1263. @
  1264.  
  1265.  
  1266. 2.1
  1267. log
  1268. @Added command to enable RPC service.
  1269. @
  1270. text
  1271. @d9 1
  1272. a9 1
  1273.  * $Header: sysStats.h,v 2.0 87/08/11 09:32:53 brent Exp $ SPRITE (Berkeley)
  1274. d35 1
  1275. @
  1276.  
  1277.  
  1278. 2.0
  1279. log
  1280. @First Sprite native copy
  1281. @
  1282. text
  1283. @d9 1
  1284. a9 1
  1285.  * $Header: sysStats.h,v 1.1 87/08/04 12:42:10 nelson Exp $ SPRITE (Berkeley)
  1286. d34 1
  1287. @
  1288.